SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1643b665979d73d35d3a9f26566892f2940ad329f0939f60e8bb7dc107f99bdd' 
  AND token = '0CK0kWMdFtYDxL3R8uMwjA2ROGWQMpyick/zwfmBUR4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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