SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3e97801dd74a0db7432b5f7ff1808d12eede0e0e308c628fffa210a80d67729c' 
  AND token = 'XThd6j86ju6aE7gHIFzLJZfVJ515QJMIDQJOlRWlz5U=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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