SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'caaec54a40d8358a682dddac159595e65a39b6a2182044ecba78f8aaec711463' 
  AND token = 't4niAMJURXof/PY8B7ib3fZKdi13GKL9gaEp4fm0C5U=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00051

JSON explain

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