SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd2f57a3dd5c00788a61ab5e39d42ae9f854c453aa8f21fde75204dd62e0c23f1' 
  AND token = '7RA9LkP4WgCWuUYOYvOVMBA3MnasqeEGtsuDvY4TKAA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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