SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4a23433f2b3c9be310b1d5687f10661cefa7d599537745be6a016cc0f8a7de65' 
  AND token = 'gmNWTRzuEGxb/S/5ypLW3Jg6hQwL7LLwO7sddSeRHGQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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