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

Query time 0.00042

JSON explain

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