SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ab4af80cf2e5dc936806ff04e02e281f7f016340f8f2e8b38cc27f8d73ac5146' 
  AND token = 'gN8B3OwZZADAqs2AC5gP7l5ig/TJRfTO0a6m62gHVd0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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