SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a2f536188613b004a87d7feb83bc49d96a8548af360f81b4821505ab10f91b3e' 
  AND token = 'n1KSQEqoDispgCQXoWB0AdP9wOcljPcSedDTcAyM8Us=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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