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

Query time 0.00014

JSON explain

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