SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'dbef8d6c0d30b9205f782ea699942b3d347c274ab97c812e195b56148f391e8b' 
  AND token = 'aRC/DrzOa+1D8XZ2+IYcleTrGqmgK5hL5Y9ub/2Mmh0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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