SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6ca0f5bcf103403729ad67702ac0efb96245578099a14dd6a1723ab46eb5018c' 
  AND token = 'rEVp25eXfI9fQhmF18RUI5iZMVltSOsC2xSTWxVaw/s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}