SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1aa902d5570345a78f20f4fa0175f7f74fc7d134efa1fc58ec3c9f73d5e7c351' 
  AND token = 'D7PdjLJviGrGd8r9zGAv8Mv5oa8v8GOwWXLFN2n8GOs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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