SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '299fcac3fa9b698ccc6ad42231a0bc56967659a380795c54f6aaf4b40620b88d' 
  AND token = 'fd/Aqn9gvJCe5n79cQCZ46nk9a2e17asJ9Y61W4Oteo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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