SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cd31fc20f1c73ab8e86f942bbba1d04b122c5e3dc4a7ecf0804bd6d5450942fc' 
  AND token = 'zUtLpPk1nGSfzDYmM/T5Kn9/TLSHQxvEWTJ1jPI/Tqc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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