SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '317cdd071c36a89c4b97ed2a2e000706551b89d33e0a89914b94368234c7c186' 
  AND token = 'a6HR++x9rIRvhB8glqU+KvE1TtHWEeEMFrIDItk5v0A=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00013

JSON explain

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