SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a4e42756888631a2dae07851a5dba3a69dd31c455121af116db178e0f3ef8904' 
  AND token = 'EqZOcBc6/4PGPPAN6GJwD0kcktT5hXyMgltLCxIgAZk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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