SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '51344f584519be45f33568d67fa7370cca341eaa9132723d48fd5cd68b241765' 
  AND token = 'Cg0Ty7eLPYbSH2qrTkThX1bocKX4oVXe5oYQiryPaKs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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