SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '520ffe38cac178cba138247fea08b4fa55fca301dc0473cbba1b89af92418151' 
  AND token = '03+yGgTUky110Jz3CvB/MplLp8MPt7NFjBiMUDWqO0g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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