SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '01714b923dbe84453a0b9a41c000e8c96bd93b2af5334436439cff275f54102d' 
  AND token = 'EdaOyR/KaTdxzb6umOf5BkKdI7ehhz4hPvk60Z3Vs7w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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