SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '25417f8340eaa475a152907981a7833569aa193a8e99850fc6745d9365179d6a' 
  AND token = 'gvvsx7J2Lv6GAy/iZdQt+VCa4p0yQsLCQv0l28VoF1M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00059

JSON explain

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