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

Query time 0.00039

JSON explain

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