SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c21147714705a5d15a3197077cfdcfde960eb29052256f46c41c59ae92350079' 
  AND token = 'Ba9MIAWHa3d1/NEYwkInsNJd9Qj9TyBCmHD8/b0NZZw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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