SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '419ad150e96c25344fdea8c18e3f3a2dc490be65cd49a757a0850ac1393b4c4f' 
  AND token = 'l9OFed6//GdRih9OYgPGVKJoD5Ovgo6kNlimHEcSLv4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00067

JSON explain

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