SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd20986902a89c6057d2afb66cc558bd746013f28d8d50e5179a15a179754f547' 
  AND token = 'ZQFZpgFhP8I7cJ8Kj0NeVSoOktWgh1EKqXD7M/SB75k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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