SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ffd12f8b5282c523204d836d5dba014d738d962b9746a375f6ceea077d1392b8' 
  AND token = '/S86qvEsVn4uVJ/75surPnQKqXRebONav8oc13kivnc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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